<?php
/**
 * Application default controller
 *
 * @category  Yii Template
 * @author    Dmitry Konovalchuk <konovalchuk@ebola.com.ua>
 * @copyright 2013 Ebola Communications
 * @link      http://www.ebola.com.ua/
 */
class SiteController extends CController
{
    public $assetsUrl;

    public function init()
    {
        $this->assetsUrl = Yii::app()->assetManager->publish(Yii::getPathOfAlias('ext.web-socket-js'));
    }

    /**
     * Renders main page
     */
    public function actionIndex()
    {
        $this->render('index');
    }
}
